/*
 * @author dumeng
 */
import request from '@/utils/request'
export function queryPage(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/sysPageInfo/queryPage',
    method: 'post',
    data
  })
}

export function addOrUpd(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/sysPageInfo/update',
    method: 'post',
    data
  })
}

export function get(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/sysPageInfo/get',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/sysPageInfo/deleteByIds',
    method: 'post',
    data
  })
}
